package cn.yangliu.service.impl;

import cn.yangliu.entity.JpaOperation;
import cn.yangliu.jpa.repository.OperationRepository;
import cn.yangliu.jpa.service.impl.JpaServiceImpl;
import cn.yangliu.service.OperationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 作者 杨柳
 * 创建时间 2017-08-28 21:59
 */
@Service
@Transactional
public class OperationServiceImpl extends JpaServiceImpl<JpaOperation,Long,OperationRepository> implements cn.yangliu.operation.service.OperationService<JpaOperation> ,OperationService {
    @Override
    public void insertOperation(JpaOperation jpaOperation) {
        this.save(jpaOperation);
    }
}
